PreviousNextTracker indexSee it online !

(31/308) 175 - Junit Class Loader Behavior

This statement, when run with the JunitPlugin returns
null:


String path = Class.forName("com.kraftmaid.database.
Database").getResource("Database.class")




In real life, the correct URL comes back. When the
statement is executed by the Junit plugin for KawaPro5.0,
the correct URL is returned. Is this a problem with how
Jedit/JunitPlugin handles class loading???? Is there a get
around?




Using:


Jedit 4.1 final (standard download - no changes)


JunitPlugin 0.0.2 (standard download - no changes)


jdk1.3.1


jre 1.3.1




email:


lancem@kraftmaid.com


Submitted smyt4714 - 2003-08-28 19:36:30 Assigned
Priority 5 Labels
Status open Group None
Resolution None

Comments

2004-03-09 05:43:53
gagey

Logged In: YES
user_id=990155

Have u set JUnitPlugin classpath?